import Vue from 'vue';
import Vuex from 'vuex';
import userInfo from './modules/userInfo.js';
import pageData from './modules/pageData.js';

Vue.use(Vuex);

export default new Vuex.Store({
	state: {
		name: '星月',
		age: 12
	},
	modules: {
		userInfo,
		pageData,
	}
});